cssanimatedstyle: Remove unused function
authorBenjamin Otte <otte@redhat.com>
Mon, 15 Dec 2014 01:54:35 +0000 (02:54 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 7 Jan 2015 13:26:47 +0000 (14:26 +0100)
gtk/gtkcssanimatedstyle.c
gtk/gtkcssanimatedstyleprivate.h

index 44e2a3f8dfdf7e536e40b5a363116bf2a31a8a4d..b663c18bafb66bb9af1fe1a0893e5db88f799e0c 100644 (file)
@@ -479,19 +479,3 @@ gtk_css_animated_style_is_static (GtkCssAnimatedStyle *style)
 
   return TRUE;
 }
-
-void
-gtk_css_animated_style_cancel_animations (GtkCssAnimatedStyle *style)
-{
-  gtk_internal_return_if_fail (GTK_IS_CSS_ANIMATED_STYLE (style));
-
-  if (style->animated_values)
-    {
-      g_ptr_array_unref (style->animated_values);
-      style->animated_values = NULL;
-    }
-
-  g_slist_free_full (style->animations, g_object_unref);
-  style->animations = NULL;
-}
-
index e3db40c332ff5a21b6d0464d3eb6824cd88753fd..c61ebe80269b56dab8f763a94136d4aa73331252 100644 (file)
@@ -68,7 +68,6 @@ GtkCssValue *           gtk_css_animated_style_get_intrinsic_value (GtkCssAnimat
 
 GtkBitmask *            gtk_css_animated_style_advance          (GtkCssAnimatedStyle    *style,
                                                                  gint64                  timestamp);
-void                    gtk_css_animated_style_cancel_animations(GtkCssAnimatedStyle    *style);
 gboolean                gtk_css_animated_style_is_static        (GtkCssAnimatedStyle    *style);
 
 G_END_DECLS